<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 500px;
            height: 500px;
            margin: auto;
            position: relative;
        }

        .img {
            width: 500px;
            height: 450px;
        }

        .danmu p {
            position: absolute;
            left: 500px;
        }
    </style>
</head>

<body>

    <div class="box">
        <img src="" alt="" class="img">
        <div class="danmu">
            <p>
                <img src="" alt="">
                <span>内容</span>
            </p>
        </div>
        <input type="text">
        <button>发送</button>
    </div>









    <script>


        // 点击发送
        //    动态创建p标签  添加内容
        //      随机位置
        //    调用move函数


    </script>

</body>

</html>